<?php
include_once("header.php");
?>
<?php
$email=$_GET["id"];
if(empty($email)) {echo "Invalid user"; include_once("footer.php"); die();}
$qUser=mysql_query("SELECT email,user_name,user_surname,quota FROM users WHERE email='$email' LIMIT 0,1");


?>
<h3>User profile<h3>
<hr>
<center>
	<div style='background: $cor; width: 500px; text-align: left; padding: 2px; margin: 2px;'>
	<ul>
<?php
while($user = mysql_fetch_array($qUser))
{
echo "
	<li>E-mail: $user[0]</li>
	<li>Name: $user[1] $user[2]</li>
	<li>Quota: $user[3]</li>
";
}
?>
	</ul>
	</div>
	</center>

<br /><br />
<br /><br />
<?php
include_once("footer.php");
?>
